Use INTERNAL_FIELD for conses and overlays.
authorDmitry Antipov <dmantipov@yandex.ru>
Wed, 1 Aug 2012 08:49:28 +0000 (12:49 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Wed, 1 Aug 2012 08:49:28 +0000 (12:49 +0400)
commitf1e5c15ba845f3ea9df8dd92daba24ad9d3b4443
treea5f4996b7c077c1ff822cf50a033516b09245409
parent23c75f42dea8f9da36758facbb2f2a7c6ad3a7e2
Use INTERNAL_FIELD for conses and overlays.
* src/lisp.h (struct Lisp_Cons): Use INTERNAL_FIELD.
Remove obsolete comment.
(MVAR): New macro.
(struct Lisp_Overlay): Use INTERNAL_FIELD.
* src/alloc.c, src/buffer.c, src/buffer.h, src/fns.c: Adjust users.
* admin/coccinelle/overlay.cocci: Semantic patch to replace direct
access to Lisp_Object members of struct Lisp_Overlay to MVAR.
admin/ChangeLog
admin/coccinelle/overlay.cocci [new file with mode: 0644]
src/ChangeLog
src/alloc.c
src/buffer.c
src/buffer.h
src/fns.c
src/lisp.h